package com.dao;

import com.entity.Login;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LoginMapper {
    int deleteByPrimaryKey(Integer id);

    /**
     * 注册新用户
     * */
    int insert(Login record);

    Login selectByPrimaryKey(Integer id);

    List<Login> selectAll();

    List<Login> check(Login record);

    int updateByPrimaryKey(Login record);
}